﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.BankCustomers
{
    /// <summary>
    ///  银行账户
    /// </summary>
    public class Bankaccount:BaseEntity
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int BankaccountId { get; set; }
        /// <summary>
        /// 银行名称
        /// </summary>
        public string? BankaccountName { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        public string? Bank { get; set; }
        /// <summary>
        /// 账户名称
        /// </summary>
        public string? BName { get; set; }
        /// <summary>
        /// 账户号码
        /// </summary>
        public string? BaccountPhone { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string? Bphone { get; set; }
        /// <summary>
        /// 账户类型
        /// </summary>
        public string? BType { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string? BCard { get; set; }
        /// <summary>
        /// 账号属性
        /// </summary>
        public string? Battribute { get; set; }
        /// <summary>
        /// 账户关系
        /// </summary>
        public string? Brelationship { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Bremark { get; set; }
        /// <summary>
        /// 供应商外键Id
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 客户外键
        /// </summary>
        public int? ClientId { get; set; }

    }
}
